package 
{
   import flash.display.MovieClip;
   import flash.display.SimpleButton;
   import flash.events.MouseEvent;
   import flash.events.Event;
   
   public dynamic class AD_changeInfo extends MovieClip
   {
      
      public function AD_changeInfo() {
         super();
         addFrameScript(0,frame1);
      }
      
      public var myBtn:SimpleButton;
      
      public var myBtn2:SimpleButton;
      
      public function onMyBtnClick(param1:MouseEvent) : void {
         this.dispatchEvent(new Event("onPressLink"));
      }
      
      public function onMyBtnClick2(param1:MouseEvent) : void {
         this.dispatchEvent(new Event("onPressLink2"));
      }
      
      function frame1() : * {
         myBtn.addEventListener(MouseEvent.CLICK,onMyBtnClick);
         myBtn2.addEventListener(MouseEvent.CLICK,onMyBtnClick2);
      }
   }
}
